home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Code / Chapter04 / test7.s3d < prev    next >
Text File  |  2000-07-27  |  1KB  |  46 lines

  1.  
  2. DEF Box01 Transform {
  3.    translation 0 0 0
  4.    rotation -1 0 0 -3.142
  5.    scale -1 -1 -1
  6.    children [
  7.       Shape {
  8.          appearance [
  9.             MultiAppearance {
  10.                material Material {
  11.                   diffuseColor 0.3373 0.3373 0.3373
  12.                }
  13.             }
  14.          ]
  15.          geometry MultiMesh {
  16.             coord DEF Box01-COORD Coordinate {
  17.                point [
  18.                   -50   0   50
  19.                    50   0   50
  20.                   -50   0  -50
  21.                    50   0  -50
  22.                   -50 100   50
  23.                    50 100   50
  24.                   -50 100  -50
  25.                    50 100  -50
  26.                ]
  27.             }
  28.             coordIndex [
  29.                3 2 0 -1
  30.                0 1 3 -1
  31.                7 5 4 -1
  32.                4 6 7 -1
  33.                5 1 0 -1
  34.                0 4 5 -1
  35.                7 3 1 -1
  36.                1 5 7 -1
  37.                6 2 3 -1
  38.                3 7 6 -1
  39.                4 0 2 -1
  40.                2 6 4 -1
  41.             ]
  42.          }
  43.       }
  44.    ]
  45. }
  46.